package com.fastadmin.pojo;

import lombok.*;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Table(name = "t_resource")
@Entity
public class Resource {
    @Id
    private Long id;
    private String title;
    private String icon;
    private String url;
    private int onemenu;
    private Long pid;
    private int weight;
    private int status;
    private Timestamp create_time;
    private Timestamp update_time;
}
